Resolve ARM GPIO pin conflicts and undefined behavior by configuring the Linux pinctrl subsystem via device tree and using the modern character device interface.